package com.wjp.villagemp.mapper.manage;

import com.wjp.villagemp.model.manage.ClassEntity;
import com.wjp.villagemp.model.manage.CourseEntity;
import com.wjp.villagemp.utils.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Jacob
 * @Date: 2019/1/18 17:30
 * @Description:
 */
@Mapper
public interface ClassMapper extends MyMapper<ClassEntity> {

    List<ClassEntity> listClass(@Param("pageSize") int pageSize, @Param("start") int start, @Param("classNum") int classNum);

    Integer countClass(@Param("classNum") int classNum);
}
